﻿namespace Borg
{
    public class ExtensionTypeEventHandlerInfo
    {
        private readonly ExtensionTypeInfo _extensionType;

        public string OnCreated
        {
            get { return _extensionType.extensionAttr.OnCreated; }
        }

        public string OnReleasing
        {
            get { return _extensionType.extensionAttr.OnReleasing; }
        }

        public string OnReleased
        {
            get { return _extensionType.extensionAttr.OnReleased; }
        }

        public ExtensionTypeEventHandlerInfo(ExtensionTypeInfo extensionType)
        {
            _extensionType = extensionType;
        }
    }
}

